package com.galaxy.commom.base.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * jwt断言注解,用于参数注解
 * @author caijinbang
 * @date 2018/10/28 15:07
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface JwtClaim {
  String value() default "username";

  boolean exception() default true;
}
